<?php

namespace Database\Factories;

use App\Models\Visitor;
use Illuminate\Database\Eloquent\Factories\Factory;

class VisitorFactory extends Factory
{

    protected $model = Visitor::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'visitorName' => $this->faker->lastName,
            'telephone'   => $this->faker->regexify('^1[3456789]\d{9}$'),
            'openId'      => 'owxLQwpziJnmRWYWzE4-H5CT--28',
        ];
    }
}
